/*
 * @Author: 刘润泽
 * @Date: 2023-01-20 01:32:55
 * @LastEditors: 刘润泽
 * @LastEditTime: 2023-03-05 10:42:34
 * @Description: 
 */
package server.business.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import server.business.pojo.MsgStateDict;
import server.business.service.MsgStateDictService;
import server.business.utils.results.lrz.Result;

@RestController
@RequestMapping("/msgState")
public class MsgStateController {
    @Autowired
    MsgStateDictService msgStateDictService;

    @GetMapping(value = "/normal//getName")
    public Result getName() {
        List<MsgStateDict> msgStateDicts = msgStateDictService.list();
        return Result.success(msgStateDicts);
    }
}
